import { asyncRoutes } from "../asyncModules";
import type { RouteMeta, RouteRecordRaw } from "vue-router";

export const transformMenuToRoutes = (
  routeList: RouteRecordRaw[],
  parentRoute?: RouteRecordRaw
) => {
  routeList.forEach((route) => {
    route.meta ||= {} as RouteMeta;
    console.log("-----", route);
    // const {  type, isExt, extOpenMode } = route.meta;
    // const compPath = route.component as unknown as string;
  });
};
